var Express = require('express'),
    Router = Express.Router(),

    votePolicy = require('../policies/policy'),

    voteController = require('../controllers/vote.controller');

Router.route('/addVote').all(votePolicy.isAllowed).post(voteController.addVote);

module.exports = Router;


